package com.jjb.www.ui.activity;

import com.hjq.bar.TitleBar;
import com.jjb.www.R;
import com.jjb.www.app.AppActivity;
import com.jjb.www.widget.BrowserView;

/**
 *    author : Android CRG
 *    github : https://github.com/getActivity/AndroidProject
 *    time   : 2018/10/18
 *    desc   : 通知公告详情
 */
public class MessageDetitleActivity extends AppActivity {
    private TitleBar mTitleBar;
    private BrowserView mWebView;

    @Override
    protected int getLayoutId() {
        return R.layout.activity_message_detitle;
    }

    @Override
    protected void initView() {
        mTitleBar = findViewById(R.id.titleBar);
        mWebView = findViewById(R.id.webView);
    }

    @Override
    protected void initData() {
        mTitleBar.setTitle(getString("title"));
        mWebView.loadUrl(getString("path"));
    }
}